package com.suzj.extraenchantments.event;

import com.suzj.extraenchantments.ExtraEnchantments;
import com.suzj.extraenchantments.particle.ParticleRegistry;
import com.suzj.extraenchantments.particle.QuestionMarkParticle;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.event.RegisterParticleProvidersEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

@Mod.EventBusSubscriber(modid = ExtraEnchantments.MODID, bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public class ClientModEvents {
    @SubscribeEvent
    public static void onClientSetup(FMLClientSetupEvent event) {
    }

    @SubscribeEvent
    public static void onParticleFactoryRegistration(RegisterParticleProvidersEvent event) {
        event.registerSpriteSet(ParticleRegistry.QUESTION_MARK_PARTICLE_TYPE.get(), QuestionMarkParticle.Factory::new);
    }

}